home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 60.zip / BS1 part 60 / Imagemaster d4.adf / apa.lzh / hlp_arexx11 < prev    next >
Text File  |  1993-08-30  |  13KB  |  635 lines

  1. \ApAssist
  2. \: - This is the Quick Help for the ARexx in IM R/t -
  3. \: ----------------------------------------------------------
  4. \:   Written by David E. Patterson
  5. \: ----------------------------------------------------------
  6.  
  7. \font topaz.font 8
  8. \tc 1
  9. \wr
  10. \lj
  11. \dd "imh_descriptor"
  12.  
  13. \index "hlp_arexx2/setmulti-undo"
  14. \toc "hlp_toc/toc"
  15. \help "aa_help/help
  16.  
  17. \node "settocolor"
  18. \title "Set to color"
  19. \next "shade"
  20. \prev ""
  21. \{ \tc 15 Settocolor \} - Colorizes black and white images
  22. \nw
  23.  
  24. Usage - '\{ \tc 15 settocolor <red> <green> <blue>\} '
  25.     
  26. \{ \ts bu Sample Script\} :
  27.     
  28. 'area';
  29. '\{ \tc 15 settocolor 34 80 200\} ';
  30.     
  31. * User Interface: \{ \tc 11   Process Panel
  32.                         Standard Adjusments
  33.                             Set to Color\}
  34.  
  35. \endnode
  36.  
  37. \node "shade"
  38. \title "Shade"
  39. \next "sharp"
  40. \prev "settocolor"
  41. \{ \tc 15 Shade \} - Shades the selected region
  42.  
  43. Uses the secondary buffer image to control the shading of the primary buffer. 
  44.     
  45. \nw    
  46. Usage - '\{ \tc 15 shade <effect>\} '; 
  47.      
  48. \{ \tc 15 Effect:     0 to 100\}
  49.     
  50. \{ \ts bu Sample Script\} :
  51.     
  52. 'area';
  53. '\{ \tc 15 shade 80\} ';
  54.     
  55. \endnode
  56.  
  57. \node "sharp"
  58. \title "Sharp"
  59. \next "shear"
  60. \prev "shade"
  61. \{ \tc 15 Sharp \} - Applies a sharpening convolution.
  62.     
  63. Applies a sharpening convolution (3X3) to a selected region.
  64.     
  65. \nw    
  66. Usage - '\{ \tc 15 sharp <effect>\} '
  67.     
  68. \{ \tc 15 Effect: 0 to 100\}
  69.     
  70. \{ \ts bu Sample Script\} :
  71.     
  72. 'area';
  73. '\{ \tc 15 sharp 80\} ';
  74.     
  75. * User Interface: \{ \tc 11   Process Panel
  76.                         Filters
  77.                             Sharpen\}
  78.     
  79. \endnode
  80.  
  81. \node "shear"
  82. \title "Shear"
  83. \next "shgeog"
  84. \prev "sharp"
  85. \{ \tc 15 Shear \} - Creates a shearing effect.
  86.  
  87. \nw    
  88. Usage - '\{ \tc 15 shear <length>\} '
  89.     
  90. \{ \ts bu Sample Script\} :
  91.     
  92. 'area';
  93. '\{ \tc 15 shear 20\} ';
  94.     
  95. * User Interface: \{ \tc 11   Process Panel
  96.                          Special Effects
  97.                              Shear\}
  98.  
  99. \endnode
  100.  
  101. \node "shgeog"
  102. \title "Shadowed Elevation"
  103. \next "shine"
  104. \prev "shear"
  105. \{ \tc 15 Shegeog \} - Creates a shadowed Geographic Elevation.
  106.  
  107. \nw    
  108. Usage - '\{ \tc 15 shgeog <sealevel>\} '
  109.     
  110. \{ \ts bu Sample Script\} :
  111.     
  112. options results;
  113. 'askprop Sealevel: 127 0 255';
  114. 'sealevel = result';
  115. options;
  116. 'area';
  117. '\{ \tc 15 shgeog\} ' sealevel;
  118.     
  119. See ALso: \{ \ts b \tc 15 \link "geog" "hlp_arexx7/geog"\}
  120.     
  121. * User Interface: \{ \tc 11   Process Panel
  122.                         Specail Effects
  123.                             Shadowed Elevations\}
  124.  
  125. \endnode
  126.  
  127. \node "shine"
  128. \title "Make Shine"
  129. \next "sine"
  130. \prev "shgeog"
  131. \{ \tc 15 Shine \} - Creates an effect similar to a star camera lens.
  132.  
  133. \nw    
  134. Usage - '\{ \tc 15 shine <amount> <length>\} '
  135.     
  136. \{ \ts bu Sample Script\} :
  137.     
  138. 'area';
  139. options results;
  140. 'askprop Amount: 50 0 100';
  141. amount = result;
  142. 'askprop length: 100 0 200';
  143. length = result;
  144. options;
  145. '\{ \tc 15 shine \} 'amount length;
  146.     
  147. * User Interface: \{ \tc 11   Process Panel 
  148.                         Special Effects
  149.                             Make Shine\}
  150.                                 
  151. \endnode
  152.  
  153. \node "sine"
  154. \title "Sine"
  155. \next "smear"
  156. \prev "shine"
  157. \{ \tc 15 Sine \} - Creates a sine wave distortion in a selected area.
  158.  
  159. \nw
  160. Usage - '\{ \tc 15 sine <horizontal%> <horizontal-period>
  161.                   <vertical%> <vertical_perioid>\} '
  162.     
  163. \{ \ts bu Sample Script\} :
  164.     
  165. 'area';
  166. options results;
  167. 'askprop Horizontal_Effect: 50 0 100';
  168. heffect = result;
  169. 'askprop Horizontal_Period: 150 0 300';
  170. Hperiod = result;
  171. 'askprop Vertical_Effect: 50 0 100';
  172. Veffect = result;
  173. 'askprop Vertical_Period: 150 0 300';
  174. Vperiod = result;
  175. options;
  176. '\{ \tc 15 sine\} ' heffect hperiod veffect vperiod ;
  177.     
  178. * User Interface: \{ \tc 11   Process Panel
  179.                         Geometric Transformations
  180.                             Wave Distort\}
  181.         
  182. \endnode
  183.  
  184. \node "smear"
  185. \title "Smear"
  186. \next "solar"
  187. \prev "sine"
  188. \{ \tc 15 Smear \} - Smears a selected region.
  189.  
  190. \nw    
  191. Usage - '\{ \tc 15 smear <effect>\} '
  192.     
  193. \{ \ts bu Sample Script\} :
  194.     
  195. 'area';
  196. '\{ \tc 15 smear 60\} ';
  197.  
  198. * User Interface: \{ \tc 11   Process Panel
  199.                          Filters
  200.                              Smear\}
  201.  
  202. \endnode
  203.  
  204. \node "solar"
  205. \title "Solarize"
  206. \next "spiral"
  207. \prev "smear"
  208. \{ \tc 15 Solar \} - Solarizes selected region.
  209.  
  210. Changes the image colors based on the monochrome brightness, to a range with
  211. blue representing darker pizels, green representing middle grey levels, and
  212. red representing brighter pixels.
  213.  
  214. \nw    
  215. Usage - '\{ \tc 15 solar\} '
  216.     
  217. \{ \ts bu Sample Script\} :
  218.     
  219. 'area';    
  220. '\{ \tc 15 solar\} ';
  221.     
  222. * User Interface: \{ \tc 11   Process Panel 
  223.                         Special Effects 
  224.                             Solarize\}
  225.  
  226. \endnode
  227.  
  228. \node "spiral"
  229. \title "Spiral Blur"
  230. \next "stepped"
  231. \prev "solar"
  232. \{ \tc 15 Spiral \} - Creates a spiral motion blur.
  233.  
  234. \nw    
  235. Usage - '\{ \tc 15 spiral <direction> <amount>\} '
  236.     
  237. \{ \ts bu Sample Script:\}
  238.     
  239. 'area';
  240. options results;
  241. 'askyn Outwards Inwards';
  242. direction = result;
  243. 'askprop Effect: 50 0 100';
  244. effect = result;
  245. options;
  246. '\{ \tc 15 spiral\} ' direction effect;
  247.     
  248. * User Interface: \{ \tc 11   Process Panel
  249.                         Geometric Transformations
  250.                             Sprial Blur\}
  251.  
  252. \endnode
  253.  
  254. \node "stepped"
  255. \title "Stepped Zoom"
  256. \next "stretch"
  257. \prev "spiral"
  258. \{ \tc 15 Stepped \} - Clips region and rescales it to another buffer.
  259.  
  260. \nw
  261. Usage - '\{ \tc 15 stepped <Xzoom> <Yzoom> [new name]\} '
  262.     
  263. Xzoom:      1 = Horizontal reduced by half
  264.             2 = No horizontal change
  265.             3 = Horizontal enlarged by 2 times
  266.              
  267. Yzoom:      1 = Vertical reduced by half
  268.             2 = No Vertical change
  269.             3 = Vertical enlarged by 2 times
  270.                 
  271. New Name:   Optional name for new buffer
  272.     
  273. \{ \ts bu Sample Script\} :
  274.     
  275. 'area';
  276. options results;
  277. 'gadgets "Horizontal","Reduced by .5" "NO" "Horizontal Change"
  278.   "Horizontal","Enlaged by 2 X"'; 
  279. Xzoom = result;
  280. 'gadgets "Vertical","Reduced by .5" "NO" "Vertical Change"
  281.   "Vertical","Enlaged by 2 X"'; 
  282. Yzoom = result;
  283. options;
  284. '\{ \tc 15 stepped\} ' xzoom yzoom steppedbuff;
  285.  
  286. * User Interface: \{ \tc 11   Process Panel
  287.                         Re-sizing and Clipping
  288.                             Zoom Clip\}
  289.                             
  290. \endnode
  291.  
  292. \node "stretch"
  293. \title "Stretch"
  294. \next "sub"
  295. \prev "spiral"
  296. \{ \tc 15 Stretch \} - Clips region and resizes it to a new buffer.
  297.  
  298. \nw    
  299. Usage - '\{ \tc 15 stretch <xsize> <ysize> [new_name]\} '
  300.     
  301. \{ \ts bu Sample Script\} :
  302.     
  303. 'area';
  304. '\{ \tc 15 stretch 640 400 MyClip\} ';
  305.     
  306. * User Interface: \{ \tc 11   Process Panel
  307.                         Re-sizing and Clipping
  308.                             Strech Clip\}
  309.  
  310. \endnode
  311.  
  312. \node "sub"
  313. \title "Subtract"
  314. \next "thick"
  315. \prev "stretch"
  316. \{ \tc 15 Sub \} - Subtracts the secondary buffer from the primary buffer.
  317.  
  318. \nw    
  319. Usage - '\{ \tc 15 sub\} '
  320.     
  321. \{ \ts bu Sample Script\} :
  322.     
  323. 'area';
  324. '\{ \tc 15 sub\} ';
  325.  
  326. * User Interface: \{ \tc 11   Compose Panel
  327.                         Algebraic Compositions
  328.                             Subtract\}
  329.                         
  330. \endnode
  331.  
  332. \node "thick"
  333. \title "Thick"
  334. \next "thin"
  335. \prev "sub"
  336. \{ \tc 15 Thick \} - Thickens pixels in  a selected region.
  337.  
  338. \nw    
  339. Usage - '\{ \tc 15 thick\} '
  340.     
  341. \{ \ts bu Sample Script\} :
  342.    
  343. 'area';
  344. '\{ \tc 15 thick\} ';
  345.     
  346. * User Interface: \{ \tc 11   Process Panel
  347.                         Filters
  348.                             Thicken\}
  349.     
  350. \endnode
  351.  
  352. \node "thin"
  353. \title "Thin"
  354. \next "tofront"
  355. \prev "thick"
  356. \{ \tc 15 Thin \} - Applies a pixel thinning procedure to a selected region.
  357.  
  358. \nw    
  359. Usage - '\{ \tc 15 thin\} '
  360.     
  361. \{ \ts bu Sample Script\} :
  362.     
  363. 'area';
  364. '\{ \tc 15 thin\} ';
  365.     
  366.     
  367. * User Interface: \{ \tc 11   Process Panel
  368.                         Filters
  369.                             Thin\}
  370.                                 
  371. \endnode
  372.  
  373. \node "tofront"
  374. \title "To the Front"
  375. \next "tween"
  376. \prev "thin"
  377. \{ \tc 15 Tofront \} - Brings Imagemaster R/t to the front.
  378.  
  379. \nw    
  380. Usage - '\{ \tc 15 tofront\} '
  381.  
  382. 'wbtofront';
  383. 'contrast 90';
  384. '\{ \tc 15 tofront\} ';    
  385.  
  386. See Also: \{ \tc 15 \ts b \link "imtofront" "hlp_arexx7/imtofront"
  387.           \link "wbtofront" "hlp_arexx12/wbtofront"\}
  388.  
  389. \endnode
  390.  
  391. \node "tween"
  392. \title "Tween"
  393. \next "unantique"
  394. \prev "tofront"
  395. \{ \tc 15 Tween \} - Provides intermediate values for Multi-Frame Sequence.
  396.  
  397. Tween ('\{ \tc 15 tween <startvalue> <endvalue>\} ') returns the in between
  398. values needed to create a Multi-Frame Sequence.  For instance to create a 6
  399. frame sequence where contrast begins at 0 and reaches 100 in the final frame,
  400. '\{ \tc 15 tween 0 100\} ' will use the total number of frames and the
  401. differance between the first and last frame (in this case 100) to generate
  402. the intermediate values needed for the sequence.
  403.     
  404. \nw
  405. For 6 frames '\{ \tc 15 tween 0 100\} ' will return:
  406.  
  407.   0   in frame 1
  408.   20  in frame 2 
  409.   40  in frame 3
  410.   60  in frame 4
  411.   80  in frame 5
  412.   100 in frame 6
  413.     
  414. If the number of frames is changed to 10 (by changing the number of frames or
  415. selecting more images)  '\{ \tc 15 tween 0 100\} ' will return:
  416.      
  417.   0   in frame 1
  418.   11  in frame 2 
  419.   22  in frame 3
  420.   33  in frame 4
  421.   44  in frame 5
  422.   55  in frame 6
  423.   66  in frame 7
  424.   77  in frame 8 
  425.   88  in frame 9
  426.   100 in frame 10   
  427.     
  428. Usage - '\{ \tc 15 tween <startvalue> <endvalue>\} ';
  429.  
  430. \{ \ts bu Sample Script\} :
  431.    
  432. options results; 
  433. 'entire';         
  434. '\{ \tc 15 tween 0 100\} ';
  435. cntrast = results;
  436. options;
  437. 'contrast '||result; 
  438. 'finish';         
  439.     
  440. \endnode
  441.  
  442. \node "unantique"
  443. \title "Unantique"
  444. \next "undo"
  445. \prev "tween"
  446. \{ \tc 15 Unantique \} - Reverses the antique effect.
  447.  
  448. \nw    
  449. Usage - '\{ \tc 15 unantique\} ';
  450.    
  451. \{ \ts bu Sample Script\} :
  452.     
  453. 'area';
  454. '\{ \tc 15 unantique\} ';
  455.     
  456. See Also: \{ \ts b \tc 15 \link "antique" "hlp_arexx4/antique"\}
  457.     
  458. * User Interface: \{ \tc 11  Process Panel
  459.                          Filters
  460.                            Un-Antique\}
  461.  
  462. \endnode
  463.  
  464. \node "undo"
  465. \title "Undo"
  466. \next "unlockall"
  467. \prev "unantique"
  468. \{ \tc 15 Undo \} - Invokes the undo function.
  469.  
  470. \nw    
  471. Usage - '\{ \tc 15 undo\} '
  472.     
  473. \{ \ts bu Sample Script\} :
  474.     
  475. 'area';
  476. 'contrast 90';
  477. options results;
  478. 'askyn Undo Continue';
  479. answer = result;
  480. options;
  481. if answer = 0 then 
  482.    do
  483.     '\{ \tc 15 undo'\} ;
  484.      exit 0;
  485.     end;
  486.       
  487. * User Interface: \{ \tc 11 Undo\}
  488.     
  489. \endnode
  490.  
  491. \node "unlockall"
  492. \title "Unlockall"
  493. \next "unlockimage"
  494. \prev "undo"
  495. \{ \tc 15 Unlock \} - Unlocks all previously locked buffers.
  496.  
  497. \nw    
  498. Usage - '\{ \tc 15 unlockall\} ';
  499.     
  500. \{ \ts bu Sample Script\} :
  501.  
  502. '\{ \tc 15 unlock\} ';
  503.     
  504. See Also: \{ \tc 15 \ts b \link "lockimage  " "hlp_arexx8/lockimage"
  505.           \link "unlockimage" "unlockimage"\}
  506.   
  507. * User Interface: \{ \tc 11   Buffer Panel
  508.                         Unlock a Buffer\}
  509.  
  510. \endnode
  511.  
  512. \node "unlockimage"
  513. \title "Unlockimage"
  514. \next "unlockprimary"
  515. \prev "unlockall"
  516. \{ \tc 15 Unlockimage \} - Unlocks an individual image.
  517.  
  518. \nw    
  519. Usage - '\{ \tc 15 unlockimage <buffer_number>\} '
  520.     
  521. \{ \ts bu Sample Script\} :
  522.     
  523. '\{ \tc 15 unlockimage 3\} ';
  524.      
  525. See Also: \{ \tc 15 \ts b \link "lockimage" "hlp_arexx8/lockimage"\}
  526.     
  527. * User Interface: \{ \tc 11   Buffer Panel
  528.                         Unlock a Buffer\}
  529.  
  530. \endnode
  531.  
  532. \node "unlockprimary"
  533. \title "Unlock primary buffer"
  534. \next "unlocksecondary"
  535. \prev "unlockimage"
  536. \{ \tc 15 Unlockprimary \} - Unlocks the Primary Buffer.
  537.  
  538. \nw    
  539. Usage - '\{ \tc 15 unlockprimary\} ';
  540.     
  541. \{ \ts bu Sample Script\} :
  542.     
  543. '\{ \tc 15 unlockprimary\} ';
  544.  
  545. See Also: \{ \tc 15 \ts b \link "lockimage" "hlp_arexx8/lockimage"\}
  546.     
  547. * User Interface: \{ \tc 11   Buffer Panel
  548.                         Unlock a Buffer\}
  549. \endnode
  550.  
  551. \node "unlocksecondary"
  552. \title "Unlock Secondary"
  553. \next "unplug"
  554. \prev "unlockprimary"
  555. \{ \tc 15 Unlocksecondary \} - Unlocks the secondary buffer.
  556.  
  557. \nw    
  558. Usage - '\{ \tc 15 unlocksecondary\} '
  559.     
  560. \{ \ts bu Sample Script\} :
  561.     
  562. '\{ \tc 15 unlocksecondary\} ';   
  563.      
  564. See Also: \{ \tc 15 \ts b \link "lockimage" "hlp_arexx8/lockimage"\}
  565.     
  566. * User Interface: \{ \tc 11   Buffer Panel
  567.                         Unlock a Buffer\}
  568.  
  569. \endnode
  570.  
  571. \node "unplug"
  572. \title "Unplug"
  573. \next "version"
  574. \prev "unlocksecondary"
  575. \{ \tc 15 Unplug \} - Required after the use of Plugin.
  576.  
  577. \nw    
  578. Usage - '\{ \tc 15 unplug <plugpointer>\} '
  579.     
  580. \{ \ts bu Sample Script\} :
  581.     
  582. options results; 
  583. 'plugin';
  584. plug = result; 
  585. options; 
  586. 'backuptoundo';
  587. address command; 
  588. 'cmpi:myfile '||plugptr;
  589. '\{ \tc 15 unplug\} ';      
  590. address(prtnme);
  591. 'redraw';
  592.  
  593. \endnode
  594.  
  595. \node "version"
  596. \title "Version"
  597. \next "vertflip"
  598. \prev "unplug"
  599. \{ \tc 15 Version \} - Returns a string with the current Version and Revision.
  600.  
  601. \nw    
  602. Usage - '\{ \tc 15 version\} ' 
  603.     
  604. \{ \ts bu Sample Script\} :
  605.  
  606. options results;
  607. '\{ \tc 15 version\} ';
  608. info = result;
  609. parse var info version','revision;
  610. options;
  611. 'message Version: 'version' Revision: ' revision;
  612.  
  613. \endnode
  614.  
  615. \node "vertflip"
  616. \title "Vertical Flip" 
  617. \next ""
  618. \prev "version"
  619. \{ \tc 15 Vertflip \} - Each column in a selected region is fliped vertically.
  620.  
  621. \nw    
  622. Usage - '\{ \tc 15 vertflip\} '
  623.     
  624. \{ \ts bu Sample Script\} :
  625.     
  626. 'area';
  627. '\{ \tc 15 vertflip\} ';
  628.     
  629. * User Interface: \{ \tc 11   Process Panel
  630.                         Geometric Transformations
  631.                              Vert Flip\}
  632.  
  633. \endnode
  634.  
  635.